//
//  UICollectionView+RWAdditions.h
//  recyclegold-ios
//
//  Created by 81SK on 2022/4/15.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UICollectionView (RWAdditions)

- (void)rw_registerClass:(nullable Class)cellClass;
- (void)rw_registerNibClass:(nullable Class)cellClass;

- (__kindof UICollectionViewCell *)rw_dequeueReusableCellWithClass:(nullable Class)cellClass
                                                      forIndexPath:(NSIndexPath *)indexPath;

- (__kindof UICollectionViewCell *)rw_loadNibCellClss:(nullable Class)cellClass
                                                owner:(nullable id)owner;

@end

NS_ASSUME_NONNULL_END
